function b = IsNumeric( x )
try
    double(x); 
catch ex
    b = false;
    return;
end
    b = true;
end

